package com.edisoncgh.pojo;

import java.util.Date;

public class Users {
    private String id;

    private String uname;

    private String nickname;

    private String pwd;

    private String email_add;

    private Date reg_date;

    private String user_link;

    private Integer user_privilege;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname == null ? null : uname.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getEmail_add() {
        return email_add;
    }

    public void setEmail_add(String email_add) {
        this.email_add = email_add == null ? null : email_add.trim();
    }

    public Date getReg_date() {
        return reg_date;
    }

    public void setReg_date(Date reg_date) {
        this.reg_date = reg_date;
    }

    public String getUser_link() {
        return user_link;
    }

    public void setUser_link(String user_link) {
        this.user_link = user_link == null ? null : user_link.trim();
    }

    public Integer getUser_privilege() {
        return user_privilege;
    }

    public void setUser_privilege(Integer user_privilege) {
        this.user_privilege = user_privilege;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id='" + id + '\'' +
                ", uname='" + uname + '\'' +
                ", nickname='" + nickname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", email_add='" + email_add + '\'' +
                ", reg_date=" + reg_date +
                ", user_link='" + user_link + '\'' +
                ", user_privilege=" + user_privilege +
                '}';
    }
}